package com.mew.common.entity.user;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import lombok.*;
import lombok.experimental.Accessors;

/**
 * <p>
 * 好友
 * </p>
 *
 * @author Dylin
 * @since 2021-04-06
 */
@TableName("u_friend")
@Data
@EqualsAndHashCode(callSuper = false)
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class Friend implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 朋友ID
     */
    private Long friendId;

    /**
     * 状态 0 申请 1 已同意 2 忽略
     */
    private Integer status;

    /**
     * 好友申请时间
     */
    private Date applyDate;


}
